package com.conceal.client.service;



public interface ConcealWxSessionService {
    /**
     * 核验微信用户
     * @param appID
     * @param appSecret
     * @param code
     * @param nickName
     * @param avatar
     * @return
     */
    String verify(String appID, String appSecret, String code, String nickName, String avatar,String country,Integer gender,String language,String city,String province);

    /**
     * 验证当前会话是否失效
     * @param sid
     * @param wxa_session_timeout
     * @return
     */
    boolean validateSession(String sid, int wxa_session_timeout);

    /**
     * 获取用户id
     */
    String getPid(String sid, int wxa_session_timeout);

}
